package cn.xsw.entity.vo;

import cn.xsw.entity.BusinessCategory;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangYiHui
 * @since 2021-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_business")
@ApiModel(value="Business对象", description="")
public class BusinessVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "业务id")
    @TableId(value = " id", type = IdType.AUTO)
    private Integer  id;

    @ApiModelProperty(value = "业务分类")
    private BusinessCategory businessCategory;

    @ApiModelProperty(value = "业务标题")
    private String title;

    @ApiModelProperty(value = "业务简介")
    private String introduction;

    @ApiModelProperty(value = "业务详情")
    private String detail;

    @ApiModelProperty(value = "logo")
    private String img;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "详情页标题图片")
    private  String detailImg;


}
